<?php
class SearchForm extends Zend_Form {
	
	public function init() {
	//	$this->setMethod('POST');
		$this->setName('searchAmazon');
		
		$element = new Zend_Form_Element_Text('keyword');
	//	$element->setLabel('Keyword');
		$element->removeDecorator('Label');
		$element->setAttrib('class','defaultText');
		$element->setAttrib('title','Type ISBN, Title, Author to fetch the book info from amazon ...');
		$this->addElement($element);
		
	//	$element = new Zend_Form_Element_Submit('search');
	//	$element->removeDecorator('Label');
	//	$this->addElement($element);
		
//		$this->addElement('submit', 'searchFetch', array(
  //      'ignore'     => true,
  //      'required'   => false,
  //      'decorators' => array(
  //          'ViewHelper',
  //      ),
  // 		 )); 
	}
}
?>